import { axiosPost } from "@/libs/http"
function getDayData(date) {
    return new Promise((resolve, reject) => {
        axiosPost({
            url: "/api/calendar/day",
            data: { date },
            success(data) {
              resolve(data)
            }, 
            error(err) {
             reject(err)
            }
        })
    })
}
export {
    getDayData
}